/* yealinkProtocol.c */
int printInfo(char *msg, int msgSize, yealinkDevice_t *yealinkDevice);
int yld_decode_model(unsigned int deviceVersion, char **name);
void createYealinkDeviceName(yealinkDevice_t *yealinkDevice);
int yealinkInit(yealinkDevice_t *yealinkDevice);
void bigtest(usb_dev_handle *dev_h);
void b3g_join_usb_and_pstn(usb_dev_handle *dev_h);
void b3g_detach_usb_and_pstn(usb_dev_handle *dev_h);
void hangup_pstn(usb_dev_handle *dev_h);
void pickup_pstn(usb_dev_handle *dev_h);
int usbb3g_check_handset_keypress_pstnring(usb_dev_handle *dev_h, int *handset, int *keypress, int *pstn_ring);
int usbb2k_check_handset_keypress_pstnring(usb_dev_handle *dev_h, int *handset, int *keypress, int *pstn_ring);
int usbb2k_ring(usb_dev_handle *dev_h, int status);
int usbb2k_tone(usb_dev_handle *dev_h, int status);
int usbb2k_switch_mode(usb_dev_handle *dev_h, int mode);
int usbb2k_get_key(usb_dev_handle *dev_h, int keynum);
void api_debug(usb_dev_handle *dev_h, int urbID);

// --- added by chris at lunarflow.com 05/08/2008 ---
int usbb2k_cid_audio(usb_dev_handle *dev_h, int status);
